<script setup>

import TableComponent from "@/components/TableComponent.vue";
import {ref} from "vue";
import CollegeFormComponent from "@/components/form/CollegeFormComponent.vue";
const title = ref([
  {
    propName: 'name',
    name: '学院名称',
  },
  {
    propName: 'id',
    name: '学院编号',
  },
  {
    propName: 'totalMajor',
    name: '专业数量',
  },
  {
    propName: 'totalClass',
    name: '班级数量',
  },
  {
    propName: 'totalStudents',
    name: '学院人数',
  },
])
const url = ref({
  deleteUrl: '',
  editUrl: '',
  searchUrl: '/college/get-search',
  showUrl: '/college/get-all-college',
  getCountUrl: '/college/get-college-count',
})
</script>

<template>
  <div class="container">
    <div class="table-container">
      <TableComponent class="table" :title="title"  :url="url" form-type="College"/>
    </div>
  </div>
</template>

<style scoped>
</style>
